#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <libgen.h>
#include <getopt.h>
#include <string.h>
#include <mosquitto.h>
#include <stdlib.h>
#include<sys/types.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<arpa/inet.h>
#include<signal.h>

#ifndef _CONF_H_
#define _CONF_H_

int set_mqtt_conf(char *path_ini,char *host,int port, char *clientid, char *user, char *passwd, char *topic);
int gain_mqtt_conf(char *path_ini, mqtt_ctx_t *mqtt);

#endif
